﻿//This is a cmocean colormap
//All credit to Kristen Thyng
//This colormap is under the MIT License
//All cmocean colormaps are available at https://github.com/matplotlib/cmocean/tree/master/cmocean/rgb

namespace ScottPlot.Colormaps
{
    public class Delta : ByteColormapBase
    {
        public override string Name => "Delta";

        public override (byte r, byte g, byte b)[] Rgbs => _rgbs;

        private static readonly (byte, byte, byte)[] _rgbs = {
            ( 17, 32, 64 ),
            ( 18, 33, 67 ),
            ( 20, 34, 70 ),
            ( 21, 36, 73 ),
            ( 22, 37, 76 ),
            ( 23, 38, 79 ),
            ( 25, 40, 83 ),
            ( 26, 41, 86 ),
            ( 27, 42, 89 ),
            ( 28, 44, 93 ),
            ( 30, 45, 96 ),
            ( 31, 46, 100 ),
            ( 32, 48, 103 ),
            ( 33, 49, 107 ),
            ( 34, 50, 111 ),
            ( 35, 51, 114 ),
            ( 36, 53, 118 ),
            ( 37, 54, 122 ),
            ( 37, 55, 126 ),
            ( 38, 56, 130 ),
            ( 38, 58, 134 ),
            ( 39, 59, 137 ),
            ( 39, 61, 141 ),
            ( 38, 62, 145 ),
            ( 37, 64, 148 ),
            ( 36, 66, 150 ),
            ( 35, 68, 152 ),
            ( 33, 70, 154 ),
            ( 32, 73, 155 ),
            ( 31, 75, 155 ),
            ( 30, 77, 156 ),
            ( 29, 79, 156 ),
            ( 28, 82, 157 ),
            ( 28, 84, 157 ),
            ( 27, 86, 157 ),
            ( 27, 88, 158 ),
            ( 27, 90, 158 ),
            ( 27, 92, 158 ),
            ( 27, 94, 159 ),
            ( 27, 96, 159 ),
            ( 27, 98, 159 ),
            ( 27, 100, 159 ),
            ( 28, 102, 160 ),
            ( 28, 104, 160 ),
            ( 29, 106, 160 ),
            ( 30, 108, 161 ),
            ( 30, 110, 161 ),
            ( 31, 112, 162 ),
            ( 32, 114, 162 ),
            ( 33, 116, 162 ),
            ( 34, 118, 163 ),
            ( 35, 120, 163 ),
            ( 36, 122, 164 ),
            ( 37, 124, 164 ),
            ( 38, 126, 165 ),
            ( 39, 128, 165 ),
            ( 40, 129, 165 ),
            ( 42, 131, 166 ),
            ( 43, 133, 166 ),
            ( 44, 135, 167 ),
            ( 45, 137, 167 ),
            ( 47, 139, 168 ),
            ( 48, 141, 168 ),
            ( 50, 143, 169 ),
            ( 51, 145, 169 ),
            ( 53, 146, 170 ),
            ( 54, 148, 170 ),
            ( 56, 150, 171 ),
            ( 58, 152, 171 ),
            ( 60, 154, 172 ),
            ( 62, 156, 172 ),
            ( 64, 158, 173 ),
            ( 66, 160, 173 ),
            ( 68, 161, 174 ),
            ( 71, 163, 174 ),
            ( 73, 165, 174 ),
            ( 76, 167, 175 ),
            ( 79, 169, 175 ),
            ( 82, 170, 176 ),
            ( 86, 172, 176 ),
            ( 89, 174, 176 ),
            ( 93, 175, 177 ),
            ( 96, 177, 177 ),
            ( 100, 178, 178 ),
            ( 104, 180, 178 ),
            ( 108, 181, 179 ),
            ( 112, 183, 180 ),
            ( 116, 184, 181 ),
            ( 120, 186, 181 ),
            ( 124, 187, 182 ),
            ( 128, 189, 183 ),
            ( 132, 190, 184 ),
            ( 136, 191, 185 ),
            ( 139, 193, 186 ),
            ( 143, 194, 187 ),
            ( 147, 196, 189 ),
            ( 151, 197, 190 ),
            ( 154, 199, 191 ),
            ( 158, 200, 192 ),
            ( 161, 202, 194 ),
            ( 165, 203, 195 ),
            ( 168, 205, 196 ),
            ( 172, 206, 198 ),
            ( 175, 208, 199 ),
            ( 179, 209, 200 ),
            ( 182, 211, 202 ),
            ( 185, 212, 203 ),
            ( 189, 214, 205 ),
            ( 192, 216, 206 ),
            ( 195, 217, 208 ),
            ( 198, 219, 209 ),
            ( 202, 221, 211 ),
            ( 205, 222, 212 ),
            ( 208, 224, 213 ),
            ( 211, 226, 215 ),
            ( 214, 227, 216 ),
            ( 217, 229, 218 ),
            ( 220, 231, 219 ),
            ( 223, 233, 220 ),
            ( 227, 235, 222 ),
            ( 230, 237, 223 ),
            ( 233, 238, 224 ),
            ( 236, 240, 225 ),
            ( 239, 242, 226 ),
            ( 242, 244, 227 ),
            ( 246, 246, 228 ),
            ( 249, 248, 229 ),
            ( 252, 250, 230 ),
            ( 255, 253, 205 ),
            ( 254, 250, 201 ),
            ( 252, 248, 197 ),
            ( 251, 246, 192 ),
            ( 249, 243, 188 ),
            ( 248, 241, 184 ),
            ( 247, 238, 180 ),
            ( 246, 236, 175 ),
            ( 244, 234, 171 ),
            ( 243, 231, 167 ),
            ( 241, 229, 162 ),
            ( 240, 227, 158 ),
            ( 239, 225, 154 ),
            ( 237, 222, 150 ),
            ( 236, 220, 145 ),
            ( 234, 218, 141 ),
            ( 233, 216, 137 ),
            ( 231, 214, 132 ),
            ( 230, 212, 128 ),
            ( 228, 210, 123 ),
            ( 227, 207, 119 ),
            ( 225, 205, 115 ),
            ( 223, 204, 110 ),
            ( 221, 202, 106 ),
            ( 219, 200, 102 ),
            ( 217, 198, 97 ),
            ( 215, 196, 93 ),
            ( 213, 194, 89 ),
            ( 211, 193, 85 ),
            ( 209, 191, 81 ),
            ( 206, 189, 76 ),
            ( 204, 188, 72 ),
            ( 201, 186, 69 ),
            ( 199, 185, 65 ),
            ( 196, 183, 61 ),
            ( 193, 182, 57 ),
            ( 190, 180, 54 ),
            ( 187, 179, 50 ),
            ( 184, 178, 47 ),
            ( 181, 176, 43 ),
            ( 178, 175, 40 ),
            ( 175, 174, 37 ),
            ( 172, 173, 34 ),
            ( 169, 171, 31 ),
            ( 165, 170, 28 ),
            ( 162, 169, 25 ),
            ( 159, 168, 23 ),
            ( 155, 166, 20 ),
            ( 152, 165, 18 ),
            ( 149, 164, 15 ),
            ( 145, 163, 13 ),
            ( 142, 162, 11 ),
            ( 138, 160, 9 ),
            ( 135, 159, 8 ),
            ( 131, 158, 7 ),
            ( 128, 157, 6 ),
            ( 124, 156, 6 ),
            ( 121, 154, 6 ),
            ( 117, 153, 6 ),
            ( 113, 152, 6 ),
            ( 110, 151, 7 ),
            ( 106, 149, 8 ),
            ( 102, 148, 9 ),
            ( 99, 147, 11 ),
            ( 95, 146, 12 ),
            ( 92, 144, 14 ),
            ( 88, 143, 15 ),
            ( 84, 142, 17 ),
            ( 81, 140, 18 ),
            ( 77, 139, 20 ),
            ( 73, 138, 22 ),
            ( 70, 136, 23 ),
            ( 66, 135, 25 ),
            ( 63, 133, 26 ),
            ( 59, 132, 28 ),
            ( 56, 131, 29 ),
            ( 52, 129, 30 ),
            ( 49, 127, 32 ),
            ( 45, 126, 33 ),
            ( 42, 124, 34 ),
            ( 39, 123, 35 ),
            ( 36, 121, 36 ),
            ( 33, 120, 37 ),
            ( 30, 118, 38 ),
            ( 27, 116, 39 ),
            ( 24, 115, 40 ),
            ( 22, 113, 41 ),
            ( 19, 111, 41 ),
            ( 17, 109, 42 ),
            ( 15, 108, 43 ),
            ( 14, 106, 43 ),
            ( 13, 104, 43 ),
            ( 12, 102, 44 ),
            ( 11, 100, 44 ),
            ( 11, 99, 44 ),
            ( 11, 97, 45 ),
            ( 11, 95, 45 ),
            ( 12, 93, 45 ),
            ( 12, 91, 45 ),
            ( 13, 89, 45 ),
            ( 14, 87, 45 ),
            ( 15, 85, 44 ),
            ( 16, 84, 44 ),
            ( 17, 82, 44 ),
            ( 18, 80, 43 ),
            ( 19, 78, 43 ),
            ( 20, 76, 42 ),
            ( 20, 74, 42 ),
            ( 21, 72, 41 ),
            ( 22, 70, 41 ),
            ( 23, 68, 40 ),
            ( 23, 66, 39 ),
            ( 24, 64, 38 ),
            ( 24, 63, 37 ),
            ( 25, 61, 36 ),
            ( 25, 59, 35 ),
            ( 25, 57, 34 ),
            ( 25, 55, 33 ),
            ( 25, 53, 32 ),
            ( 25, 51, 31 ),
            ( 25, 49, 30 ),
            ( 25, 47, 28 ),
            ( 25, 45, 27 ),
            ( 25, 44, 25 ),
            ( 25, 42, 24 ),
            ( 24, 40, 23 ),
            ( 24, 38, 21 ),
            ( 23, 36, 19 )
        };
    }
}

